package top.z.template.parse.ast;

import top.z.template.Context;
import top.z.template.Template;
import top.z.template.parse.Ast.Node;
import top.z.template.parse.Span;

import java.io.IOException;
import java.io.OutputStream;

/**
 * Continue
 */
public class Continue extends Node {

    public static final Object CONTINUE_SENTINEL = new Object();

    public Continue(Span span) {
        super(span);
    }

    @Override
    public Object evaluate(Template template, Context context, OutputStream out) throws IOException {
        return CONTINUE_SENTINEL;
    }

}
